<?php /* Smarty version Smarty-3.1.8, created on 2012-10-27 16:49:52
         compiled from "E:\www\teraco/templates\admin\config_product\list.temp.html" */ ?>
<?php /*%%SmartyHeaderCode:27089508c10b0950179-93576030%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'cd9e195dde5c2cd4755f1b92600e3712722fb44a' => 
    array (
      0 => 'E:\\www\\teraco/templates\\admin\\config_product\\list.temp.html',
      1 => 1351335064,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '27089508c10b0950179-93576030',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'tabadmindefault' => 0,
    'searchtype' => 0,
    'infoText' => 0,
    'infoClass' => 0,
    'formId' => 0,
    'base_url' => 0,
    'op' => 0,
    'searchTerms' => 0,
    'searchStatus' => 0,
    'orderBy' => 0,
    'orderDir' => 0,
    'usertemplate' => 0,
    'lang' => 0,
    'listObjects' => 0,
    'i' => 0,
    'object' => 0,
    'this' => 0,
    'productcategory' => 0,
    'act' => 0,
    'pid' => 0,
    'page' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_508c10b131c9d2_63760246',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_508c10b131c9d2_63760246')) {function content_508c10b131c9d2_63760246($_smarty_tpl) {?><?php if (!is_callable('smarty_function_l')) include 'E:\\www\\teraco\\libraries\\plugins\\function.l.php';
?><?php $_smarty_tpl->tpl_vars['formId'] = new Smarty_variable('list', null, 0);?>
<div id="content">
    <div class="highlight">
        <?php if (isset($_smarty_tpl->tpl_vars['tabadmindefault']->value)){?><?php echo $_smarty_tpl->tpl_vars['tabadmindefault']->value;?>
<?php }?>
		<?php if (isset($_smarty_tpl->tpl_vars['searchtype']->value)){?><?php echo $_smarty_tpl->tpl_vars['searchtype']->value;?>
<?php }?>
        <?php if ($_smarty_tpl->tpl_vars['infoText']->value){?>
            <div class="<?php echo $_smarty_tpl->tpl_vars['infoClass']->value;?>
">
                <h4>Result:</h4>
                <p><?php echo $_smarty_tpl->tpl_vars['infoText']->value;?>
</p>
            </div>
        <?php }?>
        <?php echo $_smarty_tpl->getSubTemplate ("admin/toolbar.temp.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('title'=>'toolbar'), 0);?>

        <form id="<?php echo $_smarty_tpl->tpl_vars['formId']->value;?>
" name="<?php echo $_smarty_tpl->tpl_vars['formId']->value;?>
" action="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
" method="post">
            <div class="tableContent">
                <table width="100%" border="0" cellspacing="0" cellpaddPostsing="0">
                <thead>
                <tr>
                <th><input class="box3" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('<?php echo $_smarty_tpl->tpl_vars['formId']->value;?>
');" /></th>
                <th><?php echo smarty_function_l(array('s'=>'no'),$_smarty_tpl);?>
</th>
                <th><?php echo smarty_function_l(array('s'=>'parent'),$_smarty_tpl);?>
</th>
                <th><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['op']->value;?>
/act/list/searchTerms/<?php echo $_smarty_tpl->tpl_vars['searchTerms']->value;?>
/searchStatus/<?php echo $_smarty_tpl->tpl_vars['searchStatus']->value;?>
/orderBy/slug/orderDir/<?php if ($_smarty_tpl->tpl_vars['orderBy']->value=='slug'&&$_smarty_tpl->tpl_vars['orderDir']->value=='ASC'){?>DESC<?php }else{ ?>ASC<?php }?>" title="<?php echo smarty_function_l(array('s'=>'click_here_to_sort_by'),$_smarty_tpl);?>
 "><?php echo smarty_function_l(array('s'=>'slug'),$_smarty_tpl);?>
<?php if ($_smarty_tpl->tpl_vars['orderBy']->value=='slug'){?>&nbsp;<img src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/templates/<?php echo $_smarty_tpl->tpl_vars['usertemplate']->value;?>
/images/ico_<?php if ($_smarty_tpl->tpl_vars['orderDir']->value=='DESC'){?>down<?php }else{ ?>up<?php }?>.gif" alt="" width="12" height="12" /><?php }?></a></th>
                <th><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['op']->value;?>
/act/list/searchTerms/<?php echo $_smarty_tpl->tpl_vars['searchTerms']->value;?>
/searchStatus/<?php echo $_smarty_tpl->tpl_vars['searchStatus']->value;?>
/orderBy/<?php echo $_smarty_tpl->tpl_vars['lang']->value;?>
_name/orderDir/<?php if ($_smarty_tpl->tpl_vars['orderDir']->value=='ASC'){?>DESC<?php }else{ ?>ASC<?php }?>" title="<?php echo smarty_function_l(array('s'=>'click_here_to_sort_by'),$_smarty_tpl);?>
 <?php echo smarty_function_l(array('s'=>'name'),$_smarty_tpl);?>
"><?php echo smarty_function_l(array('s'=>'name'),$_smarty_tpl);?>
<?php if ($_smarty_tpl->tpl_vars['orderBy']->value=='vn_name'){?>&nbsp;<img src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/templates/<?php echo $_smarty_tpl->tpl_vars['usertemplate']->value;?>
/images/ico_<?php if ($_smarty_tpl->tpl_vars['orderDir']->value=='DESC'){?>down<?php }else{ ?>up<?php }?>.gif" alt="" width="12" height="12" /><?php }?></a></th>
                <th><?php echo smarty_function_l(array('s'=>'status'),$_smarty_tpl);?>
</th>
                <th><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['op']->value;?>
/act/list/searchTerms/<?php echo $_smarty_tpl->tpl_vars['searchTerms']->value;?>
/searchStatus/<?php echo $_smarty_tpl->tpl_vars['searchStatus']->value;?>
/orderBy/position/orderDir/<?php if ($_smarty_tpl->tpl_vars['orderBy']->value=='position'&&$_smarty_tpl->tpl_vars['orderDir']->value=='ASC'){?>DESC<?php }else{ ?>ASC<?php }?>" title="<?php echo smarty_function_l(array('s'=>'click_here_to_sort_by'),$_smarty_tpl);?>
 <?php echo smarty_function_l(array('s'=>'position'),$_smarty_tpl);?>
"><?php echo smarty_function_l(array('s'=>'position'),$_smarty_tpl);?>
<?php if ($_smarty_tpl->tpl_vars['orderBy']->value=='position'){?>&nbsp;<img src="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/templates/<?php echo $_smarty_tpl->tpl_vars['usertemplate']->value;?>
/images/ico_<?php if ($_smarty_tpl->tpl_vars['orderDir']->value=='DESC'){?>down<?php }else{ ?>up<?php }?>.gif" alt="" width="12" height="12" /><?php }?></a></th>
                <th><?php echo smarty_function_l(array('s'=>'actions'),$_smarty_tpl);?>
</th>
                </tr>
                </thead>
                <tbody>
                <?php if ($_smarty_tpl->tpl_vars['listObjects']->value){?>
                <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable($_smarty_tpl->tpl_vars['listObjects']->value['pages']['start'], null, 0);?>
                <?php  $_smarty_tpl->tpl_vars['object'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['object']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['listObjects']->value['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['object']->key => $_smarty_tpl->tpl_vars['object']->value){
$_smarty_tpl->tpl_vars['object']->_loop = true;
?>
                <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable($_smarty_tpl->tpl_vars['i']->value+1, null, 0);?>
                <tr<?php if ($_smarty_tpl->tpl_vars['i']->value%2==0){?> class="bgType"<?php }?>>
                <td><input class="box3" type="checkbox" name="oIds[]" id="oIds" value="<?php echo $_smarty_tpl->tpl_vars['object']->value->getField('id');?>
" /></td>
                <td><?php echo number_format($_smarty_tpl->tpl_vars['i']->value);?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['productcategory']->value->getParentName($_smarty_tpl->tpl_vars['this']->value->lang,$_smarty_tpl->tpl_vars['object']->value->getField('cid'));?>
</td>
                <td><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['op']->value;?>
/list/pid/<?php echo $_smarty_tpl->tpl_vars['object']->value->getField('id');?>
"><?php echo $_smarty_tpl->tpl_vars['object']->value->getField('slug');?>
</a></td>
                <td><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['op']->value;?>
/list/pid/<?php echo $_smarty_tpl->tpl_vars['object']->value->getField('id');?>
"><?php echo $_smarty_tpl->tpl_vars['object']->value->getFieldLangAdmin($_smarty_tpl->tpl_vars['this']->value->lang,'name');?>
</a></td>
                <td><?php if ($_smarty_tpl->tpl_vars['object']->value->isDeleted()){?><span style="color: #FF0000"><?php echo $_smarty_tpl->tpl_vars['object']->value->getStatusText();?>
</span><?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['object']->value->getStatusText();?>
<?php }?></td>
                <td>
                	<input type="text" name="position" class="position" oId="<?php echo $_smarty_tpl->tpl_vars['object']->value->getField('id');?>
" value="<?php echo $_smarty_tpl->tpl_vars['object']->value->getField('position');?>
" />
                </td>
                <td>
                    <?php echo $_smarty_tpl->getSubTemplate ("admin/action.temp.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('title'=>'action'), 0);?>

                </td>
                </tr>
                <?php } ?>
                <?php }?>
                </tbody>
                </table>
                <div class="paging">
                    <p class="btnType">
                        <input type="hidden" id="op"  name="op" value="<?php echo $_smarty_tpl->tpl_vars['op']->value;?>
" />
                        <input type="hidden" id="act" name="act" value="<?php echo $_smarty_tpl->tpl_vars['act']->value;?>
" />
                        <input type="hidden" id="pid" name="pid" value="<?php echo $_smarty_tpl->tpl_vars['pid']->value;?>
" />
                        <input type="hidden" id="oId" name="oId" value=""/>
                        <input type="hidden" id="searchTerms" name="searchTerms" value="<?php echo $_smarty_tpl->tpl_vars['searchTerms']->value;?>
"/>
                        <input type="hidden" id="searchStatus" name="searchStatus" value="<?php echo $_smarty_tpl->tpl_vars['searchStatus']->value;?>
"/>
                        <input type="hidden" id="orderBy" name="orderBy" value="<?php echo $_smarty_tpl->tpl_vars['orderBy']->value;?>
"/>
                        <input type="hidden" id="orderDir" name="orderDir" value="<?php echo $_smarty_tpl->tpl_vars['orderDir']->value;?>
"/>
                        <input type="hidden" id="page" name="page" value="<?php echo $_smarty_tpl->tpl_vars['page']->value;?>
"/>
                        <input type="hidden" id="position" name="position" value=""/>
                        <input type="hidden" id="plus" name="plus" id="plus" value=""/>
                    </p>
                    <?php echo $_smarty_tpl->getSubTemplate ("admin/paging.temp.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('title'=>'paging'), 0);?>

                </div>
            </div>
        </form>
    </div>
</div><?php }} ?>